package com.allwees.bs.module.lms.vo;

import lombok.Data;

@Data
public class AfterShipCheckPoint implements Comparable<AfterShipCheckPoint> {
    private String location;
    private String message;
    private String checkpoint_time;
    private Long checkTimeStamp;
    private String tag;
    private String subtag;

    @Override
    public int compareTo(AfterShipCheckPoint o) {
        return (int) (o.getCheckTimeStamp() - this.checkTimeStamp);
    }
}
